package org.chen.mvc.controller;

import org.chen.mvc.annotation.Controller;
import org.chen.mvc.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 图标控制器
 *
 * @author Chen
 * @since 2023/6/8 10:22
 */

@Controller
public class FaviconController {

    @RequestMapping("/favicon.ico")
    public void handleFaviconRequest(HttpServletRequest request, HttpServletResponse response) {
        response.setStatus(HttpServletResponse.SC_NO_CONTENT);
    }

}
